package com.tianqu.tms.dao;

import java.util.List;

import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.IntegralRegisterDto;
/**
 * 积分管理Dao
 * @author Administrator
 *
 */
public interface IntegralRegisterDao {
 public List<IntegralRegisterDto> findIntegralByMemId(String memId) throws TmsDaoException;
 public List<IntegralRegisterDto> findIntegralByMemId(String memId,int memberType,int chargeType) throws TmsDaoException;
 /**
  * 插入
  * @param memId
  * @throws TmsDaoException
  */
 public void insertRegisterInfo(IntegralRegisterDto dto) throws TmsDaoException;

 public IntegralRegisterDto  findAllTransferPriceByMemId(String memId) throws TmsDaoException;
 public IntegralRegisterDto getIntegralRegisterInfoBySerial(String serial,int chargeType,int plusMinus) throws TmsDaoException;
 public void updateIntegralRegisterInfo(IntegralRegisterDto dto) throws TmsDaoException;
 public void deleteIntegralRegisterInfo(String serial,int chargeType)throws TmsDaoException;
 public List<IntegralRegisterDto> findIntegralListByMemId(String memId,int memberType,int chargeType,int plusMinus) throws TmsDaoException;
 public boolean getIntegralRegisterBySerial(String serial) throws TmsDaoException;
 public List<IntegralRegisterDto> findIntegral(String memId, String dateFrom, String dateTo) throws TmsDaoException;

}
